.right{
    float:right;
    div{
        float: right;
    }
}
.left{
    float: left;
    div{
        float: left;
    }
}
.chatMessage{
    clear: both;
    padding:10px;
    .headImg{
        width:40px;
        height:40px;
        border-radius: 20px;
        overflow: hidden;
        img{
            width:100%;
            height:100%;
        }
    }
    .chatMessageText{
        background:#fff;
        padding:10px;
        border-radius: 5px;
        margin:0 10px;
        line-height: 20px;
        max-width: 220px;
    }
}